package com.ruoyi.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 客户表
 * </p>
 *
 * @author 林颖
 * @since 2025-02-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("customer")
@ApiModel(value="Customer对象", description="客户表")
public class Customer implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "客户唯一标识")
    @TableId(value = "customer_id", type = IdType.NONE)
    private String customerId;

    @ApiModelProperty(value = "客户姓名")
    private String customerName;

    @ApiModelProperty(value = "客户性别 0-男 1-女")
    private String gender;

    @ApiModelProperty(value = "客户的电子邮件地址")
    private String email;

    @ApiModelProperty(value = "客户联系号码")
    private String phoneNumber;

    @ApiModelProperty(value = "逻辑删除字段 0-存在 1-删除")
    private String isDelete;

    @ApiModelProperty(value = "用户余额 单位(分)")
    private Integer balance;

    @ApiModelProperty(value = "管理员标识 0-否 1-是")
    private String isManager;


}
